tools/libxc: Drop other examples of the 'goto x; } else if' antipattern
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 18 Dec 2019 22:08:02 +0000 (22:08 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 20 Dec 2019 16:08:00 +0000 (16:08 +0000)
commit31bf4f26aa17320436b7c7da830f1f6aa49b9608
treef47be29904ecb8f73f8fe7007e79bb1f970e25db
parentf71dbc2f4c3024e6edf99c5a0b5029d52559b55e
tools/libxc: Drop other examples of the 'goto x; } else if' antipattern

None of these are buggy, but the resulting code is more robust.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxc/xc_dom_core.c
tools/libxc/xc_misc.c
tools/libxc/xc_resource.c
tools/libxc/xc_sr_common.c
tools/libxc/xc_sr_restore.c
tools/libxc/xc_sr_restore_x86_hvm.c
tools/libxc/xc_sr_restore_x86_pv.c